Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update terraform grafana to v3 #554

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 14, 2024

This PR contains the following updates:

Package Type Update Change
grafana (source) required_provider major ~> 2.0 -> ~> 3.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

grafana/terraform-provider-grafana (grafana)

v3.12.0

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v3.11.0...v3.12.0

v3.11.0

Compare Source

What's Changed

Dependencies:

Fixes and features:

New Contributors

Full Changelog: grafana/terraform-provider-grafana@v3.10.0...v3.11.0

v3.10.0

Compare Source

What's Changed

Changes:

Dependabot:

Full Changelog: grafana/terraform-provider-grafana@v3.9.0...v3.10.0

v3.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: grafana/terraform-provider-grafana@v3.8.2...v3.9.0

v3.8.2

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v3.8.1...v3.8.2

v3.7.0

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v3.6.0...v3.7.0

v3.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: grafana/terraform-provider-grafana@v3.5.0...v3.6.0

v3.5.0

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v3.4.0...v3.5.0

v3.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: grafana/terraform-provider-grafana@v3.3.0...v3.4.0

v3.3.0

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v3.2.1...v3.3.0

v3.2.1

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v3.2.0...v3.2.1

v3.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: grafana/terraform-provider-grafana@v3.1.0...v3.2.0

v3.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: grafana/terraform-provider-grafana@v3.0.0...v3.1.0

v3.0.0

Compare Source

Recommended upgrade procedure

Bump the Terraform provider to the latest v2 version, apply, then upgrade to v3 and remove/replace all the attributes that have been removed.

Major features

Terraform Config Generation (Alpha version)

See the README here.

This is a new tool that will be developed further in future releases. It can be pointed at a Grafana instance or at a Grafana Cloud account and it will find all Grafana provider resources and generate the Terraform config for them.

Example (with the binary from this release):

./terraform-provider-grafana-generate_3.0.0_darwin_arm64 --output-dir test --grafana-auth=admin:admin --grafana-url=http://localhost:3000/
Grafana 11 Support

Some Terraform features had to be removed to enable full Grafana 11 support. All resources should now work with Grafana 11 (Cloud, on-prem Enterprise and on-prem OSS).

Breaking changes

Removed the global (provider-level) org_id setting

Reasons for its removal:

  • The attribute was already added on each resource, so it doesn't remove any functionality
  • It's irrelevant to all parts of the provider other than Grafana resources, possibly causing confusing since there's also an org concept on cloud resources
  • Even for Grafana, it does not apply to all resources. For example, users are not org-scoped. By setting it on a resource level, this is much better defined
  • When using it globally, it prevents looping on multiple orgs. Ex: Create dashboards for a list of orgs. Providers cannot be created dynamically
Removed support for old ID separators (converge on :)

This makes importing resources consistent across all parts of the provider. For example:

terraform import grafana_folder.test orgID:folderUID
terraform import grafana_dashboard.test orgID:dashboardUID
Removed deprecated resources
  • grafana_api_key: Use grafana_service_account instead
  • grafana_cloud_stack_api_key: Use grafana_cloud_stack_service_account instead
  • grafana_cloud_api_key: Use grafana_cloud_access_policy instead
  • grafana_oncall_action : Use grafana_oncall_outgoing_webhook instead
Removed deprecated attributes
  • Removed numerical IDs (of dashboards, folders, datasources) in favour of UIDs
  • grafana_report dashboard definition converged onto a single dashboards {} block
  • cloud_api_key provider attribute: Use cloud_access_policy_token instead

Changelog

New Contributors

Full Changelog: grafana/terraform-provider-grafana@v2.19.0...v3.0.0

v2.19.4

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v2.19.3...v2.19.4

v2.19.3

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v2.19.2...v2.19.3

v2.19.2

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v2.19.1...v2.19.2

v2.19.1

Compare Source

What's Changed

Full Changelog: grafana/terraform-provider-grafana@v2.19.0...v2.19.1


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from chris13524 as a code owner May 14, 2024 20:26
@renovate renovate bot force-pushed the renovate/grafana-3.x branch 3 times, most recently from 0745b2b to 1803d2a Compare May 17, 2024 17:54
@renovate renovate bot force-pushed the renovate/grafana-3.x branch from 1803d2a to b70bf72 Compare May 17, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants